﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CompilerLib.Scanner.Generator;
using RE = CompilerLib.Scanner.RegularExpression;
namespace Compiler
{
    class Program
    {
        static void Main(string[] args)
        {
            var re = (RE.Symbol('a') | RE.Symbol('b')).Many1();

            NFAConverter nfa = new NFAConverter();
            var nfaModel = nfa.Convert(re);

      
            Console.WriteLine(re.ToString());
        }
    }
}
